<template>
  <div  :class="[hideBottomBorder?'':'border-b-gray-100']">
    <div class="flex header__box" :style="{margin}">
      <div class="header__box__title">{{ title }}</div>
    </div>
  </div>
</template>

<script>
/**
 * 
 */
export default {
  name: 'ContentHeader',
  props: {
    title: {
      type: String,
      default: null
    },
    hideBottomBorder:{
      type:Boolean,
      default:false
    },
    margin:{
      type:String,
      default:''
    }
  },
  data () {
    return {}
  },
  mounted () {
  },
  methods: {
  }
}
</script>

<style lang="less" scoped>
.header__box {
  width: 100%;
  padding: 5px 0 14px 20px;
  margin-bottom: 20px;
  &__title {
    position: relative;
    font-size: 15px;
    text-align: left;
    &::before {
      content: '';
      position: absolute;
      width: 4px;
      height: 16px;
      background: #46a6ff;
      top: 4px;
      left: -15px;
    }
  }
}
</style>
